package com.sunelec.pojo;

import java.util.ArrayList;
import java.util.List;

public class PowerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PowerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPowerIdIsNull() {
            addCriterion("power_id is null");
            return (Criteria) this;
        }

        public Criteria andPowerIdIsNotNull() {
            addCriterion("power_id is not null");
            return (Criteria) this;
        }

        public Criteria andPowerIdEqualTo(String value) {
            addCriterion("power_id =", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdNotEqualTo(String value) {
            addCriterion("power_id <>", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdGreaterThan(String value) {
            addCriterion("power_id >", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdGreaterThanOrEqualTo(String value) {
            addCriterion("power_id >=", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdLessThan(String value) {
            addCriterion("power_id <", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdLessThanOrEqualTo(String value) {
            addCriterion("power_id <=", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdLike(String value) {
            addCriterion("power_id like", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdNotLike(String value) {
            addCriterion("power_id not like", value, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdIn(List<String> values) {
            addCriterion("power_id in", values, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdNotIn(List<String> values) {
            addCriterion("power_id not in", values, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdBetween(String value1, String value2) {
            addCriterion("power_id between", value1, value2, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerIdNotBetween(String value1, String value2) {
            addCriterion("power_id not between", value1, value2, "powerId");
            return (Criteria) this;
        }

        public Criteria andPowerNameIsNull() {
            addCriterion("power_name is null");
            return (Criteria) this;
        }

        public Criteria andPowerNameIsNotNull() {
            addCriterion("power_name is not null");
            return (Criteria) this;
        }

        public Criteria andPowerNameEqualTo(String value) {
            addCriterion("power_name =", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameNotEqualTo(String value) {
            addCriterion("power_name <>", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameGreaterThan(String value) {
            addCriterion("power_name >", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameGreaterThanOrEqualTo(String value) {
            addCriterion("power_name >=", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameLessThan(String value) {
            addCriterion("power_name <", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameLessThanOrEqualTo(String value) {
            addCriterion("power_name <=", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameLike(String value) {
            addCriterion("power_name like", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameNotLike(String value) {
            addCriterion("power_name not like", value, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameIn(List<String> values) {
            addCriterion("power_name in", values, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameNotIn(List<String> values) {
            addCriterion("power_name not in", values, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameBetween(String value1, String value2) {
            addCriterion("power_name between", value1, value2, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerNameNotBetween(String value1, String value2) {
            addCriterion("power_name not between", value1, value2, "powerName");
            return (Criteria) this;
        }

        public Criteria andPowerPosterIsNull() {
            addCriterion("power_poster is null");
            return (Criteria) this;
        }

        public Criteria andPowerPosterIsNotNull() {
            addCriterion("power_poster is not null");
            return (Criteria) this;
        }

        public Criteria andPowerPosterEqualTo(String value) {
            addCriterion("power_poster =", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterNotEqualTo(String value) {
            addCriterion("power_poster <>", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterGreaterThan(String value) {
            addCriterion("power_poster >", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterGreaterThanOrEqualTo(String value) {
            addCriterion("power_poster >=", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterLessThan(String value) {
            addCriterion("power_poster <", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterLessThanOrEqualTo(String value) {
            addCriterion("power_poster <=", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterLike(String value) {
            addCriterion("power_poster like", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterNotLike(String value) {
            addCriterion("power_poster not like", value, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterIn(List<String> values) {
            addCriterion("power_poster in", values, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterNotIn(List<String> values) {
            addCriterion("power_poster not in", values, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterBetween(String value1, String value2) {
            addCriterion("power_poster between", value1, value2, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerPosterNotBetween(String value1, String value2) {
            addCriterion("power_poster not between", value1, value2, "powerPoster");
            return (Criteria) this;
        }

        public Criteria andPowerLocalIsNull() {
            addCriterion("power_local is null");
            return (Criteria) this;
        }

        public Criteria andPowerLocalIsNotNull() {
            addCriterion("power_local is not null");
            return (Criteria) this;
        }

        public Criteria andPowerLocalEqualTo(String value) {
            addCriterion("power_local =", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalNotEqualTo(String value) {
            addCriterion("power_local <>", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalGreaterThan(String value) {
            addCriterion("power_local >", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalGreaterThanOrEqualTo(String value) {
            addCriterion("power_local >=", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalLessThan(String value) {
            addCriterion("power_local <", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalLessThanOrEqualTo(String value) {
            addCriterion("power_local <=", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalLike(String value) {
            addCriterion("power_local like", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalNotLike(String value) {
            addCriterion("power_local not like", value, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalIn(List<String> values) {
            addCriterion("power_local in", values, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalNotIn(List<String> values) {
            addCriterion("power_local not in", values, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalBetween(String value1, String value2) {
            addCriterion("power_local between", value1, value2, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andPowerLocalNotBetween(String value1, String value2) {
            addCriterion("power_local not between", value1, value2, "powerLocal");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityIsNull() {
            addCriterion("install_capacity is null");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityIsNotNull() {
            addCriterion("install_capacity is not null");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityEqualTo(String value) {
            addCriterion("install_capacity =", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityNotEqualTo(String value) {
            addCriterion("install_capacity <>", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityGreaterThan(String value) {
            addCriterion("install_capacity >", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityGreaterThanOrEqualTo(String value) {
            addCriterion("install_capacity >=", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityLessThan(String value) {
            addCriterion("install_capacity <", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityLessThanOrEqualTo(String value) {
            addCriterion("install_capacity <=", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityLike(String value) {
            addCriterion("install_capacity like", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityNotLike(String value) {
            addCriterion("install_capacity not like", value, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityIn(List<String> values) {
            addCriterion("install_capacity in", values, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityNotIn(List<String> values) {
            addCriterion("install_capacity not in", values, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityBetween(String value1, String value2) {
            addCriterion("install_capacity between", value1, value2, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andInstallCapacityNotBetween(String value1, String value2) {
            addCriterion("install_capacity not between", value1, value2, "installCapacity");
            return (Criteria) this;
        }

        public Criteria andPoweTypeIsNull() {
            addCriterion("powe_type is null");
            return (Criteria) this;
        }

        public Criteria andPoweTypeIsNotNull() {
            addCriterion("powe_type is not null");
            return (Criteria) this;
        }

        public Criteria andPoweTypeEqualTo(String value) {
            addCriterion("powe_type =", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeNotEqualTo(String value) {
            addCriterion("powe_type <>", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeGreaterThan(String value) {
            addCriterion("powe_type >", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeGreaterThanOrEqualTo(String value) {
            addCriterion("powe_type >=", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeLessThan(String value) {
            addCriterion("powe_type <", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeLessThanOrEqualTo(String value) {
            addCriterion("powe_type <=", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeLike(String value) {
            addCriterion("powe_type like", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeNotLike(String value) {
            addCriterion("powe_type not like", value, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeIn(List<String> values) {
            addCriterion("powe_type in", values, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeNotIn(List<String> values) {
            addCriterion("powe_type not in", values, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeBetween(String value1, String value2) {
            addCriterion("powe_type between", value1, value2, "poweType");
            return (Criteria) this;
        }

        public Criteria andPoweTypeNotBetween(String value1, String value2) {
            addCriterion("powe_type not between", value1, value2, "poweType");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecIsNull() {
            addCriterion("power_avg_elec is null");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecIsNotNull() {
            addCriterion("power_avg_elec is not null");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecEqualTo(Float value) {
            addCriterion("power_avg_elec =", value, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecNotEqualTo(Float value) {
            addCriterion("power_avg_elec <>", value, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecGreaterThan(Float value) {
            addCriterion("power_avg_elec >", value, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecGreaterThanOrEqualTo(Float value) {
            addCriterion("power_avg_elec >=", value, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecLessThan(Float value) {
            addCriterion("power_avg_elec <", value, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecLessThanOrEqualTo(Float value) {
            addCriterion("power_avg_elec <=", value, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecIn(List<Float> values) {
            addCriterion("power_avg_elec in", values, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecNotIn(List<Float> values) {
            addCriterion("power_avg_elec not in", values, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecBetween(Float value1, Float value2) {
            addCriterion("power_avg_elec between", value1, value2, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerAvgElecNotBetween(Float value1, Float value2) {
            addCriterion("power_avg_elec not between", value1, value2, "powerAvgElec");
            return (Criteria) this;
        }

        public Criteria andPowerConCostIsNull() {
            addCriterion("power_con_cost is null");
            return (Criteria) this;
        }

        public Criteria andPowerConCostIsNotNull() {
            addCriterion("power_con_cost is not null");
            return (Criteria) this;
        }

        public Criteria andPowerConCostEqualTo(Float value) {
            addCriterion("power_con_cost =", value, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostNotEqualTo(Float value) {
            addCriterion("power_con_cost <>", value, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostGreaterThan(Float value) {
            addCriterion("power_con_cost >", value, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostGreaterThanOrEqualTo(Float value) {
            addCriterion("power_con_cost >=", value, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostLessThan(Float value) {
            addCriterion("power_con_cost <", value, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostLessThanOrEqualTo(Float value) {
            addCriterion("power_con_cost <=", value, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostIn(List<Float> values) {
            addCriterion("power_con_cost in", values, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostNotIn(List<Float> values) {
            addCriterion("power_con_cost not in", values, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostBetween(Float value1, Float value2) {
            addCriterion("power_con_cost between", value1, value2, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConCostNotBetween(Float value1, Float value2) {
            addCriterion("power_con_cost not between", value1, value2, "powerConCost");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyIsNull() {
            addCriterion("power_con_subsidy is null");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyIsNotNull() {
            addCriterion("power_con_subsidy is not null");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyEqualTo(Float value) {
            addCriterion("power_con_subsidy =", value, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyNotEqualTo(Float value) {
            addCriterion("power_con_subsidy <>", value, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyGreaterThan(Float value) {
            addCriterion("power_con_subsidy >", value, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyGreaterThanOrEqualTo(Float value) {
            addCriterion("power_con_subsidy >=", value, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyLessThan(Float value) {
            addCriterion("power_con_subsidy <", value, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyLessThanOrEqualTo(Float value) {
            addCriterion("power_con_subsidy <=", value, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyIn(List<Float> values) {
            addCriterion("power_con_subsidy in", values, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyNotIn(List<Float> values) {
            addCriterion("power_con_subsidy not in", values, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyBetween(Float value1, Float value2) {
            addCriterion("power_con_subsidy between", value1, value2, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andPowerConSubsidyNotBetween(Float value1, Float value2) {
            addCriterion("power_con_subsidy not between", value1, value2, "powerConSubsidy");
            return (Criteria) this;
        }

        public Criteria andRepayMethodIsNull() {
            addCriterion("repay_method is null");
            return (Criteria) this;
        }

        public Criteria andRepayMethodIsNotNull() {
            addCriterion("repay_method is not null");
            return (Criteria) this;
        }

        public Criteria andRepayMethodEqualTo(String value) {
            addCriterion("repay_method =", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodNotEqualTo(String value) {
            addCriterion("repay_method <>", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodGreaterThan(String value) {
            addCriterion("repay_method >", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodGreaterThanOrEqualTo(String value) {
            addCriterion("repay_method >=", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodLessThan(String value) {
            addCriterion("repay_method <", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodLessThanOrEqualTo(String value) {
            addCriterion("repay_method <=", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodLike(String value) {
            addCriterion("repay_method like", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodNotLike(String value) {
            addCriterion("repay_method not like", value, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodIn(List<String> values) {
            addCriterion("repay_method in", values, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodNotIn(List<String> values) {
            addCriterion("repay_method not in", values, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodBetween(String value1, String value2) {
            addCriterion("repay_method between", value1, value2, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andRepayMethodNotBetween(String value1, String value2) {
            addCriterion("repay_method not between", value1, value2, "repayMethod");
            return (Criteria) this;
        }

        public Criteria andPowerSnIsNull() {
            addCriterion("power_SN is null");
            return (Criteria) this;
        }

        public Criteria andPowerSnIsNotNull() {
            addCriterion("power_SN is not null");
            return (Criteria) this;
        }

        public Criteria andPowerSnEqualTo(String value) {
            addCriterion("power_SN =", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnNotEqualTo(String value) {
            addCriterion("power_SN <>", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnGreaterThan(String value) {
            addCriterion("power_SN >", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnGreaterThanOrEqualTo(String value) {
            addCriterion("power_SN >=", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnLessThan(String value) {
            addCriterion("power_SN <", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnLessThanOrEqualTo(String value) {
            addCriterion("power_SN <=", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnLike(String value) {
            addCriterion("power_SN like", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnNotLike(String value) {
            addCriterion("power_SN not like", value, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnIn(List<String> values) {
            addCriterion("power_SN in", values, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnNotIn(List<String> values) {
            addCriterion("power_SN not in", values, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnBetween(String value1, String value2) {
            addCriterion("power_SN between", value1, value2, "powerSn");
            return (Criteria) this;
        }

        public Criteria andPowerSnNotBetween(String value1, String value2) {
            addCriterion("power_SN not between", value1, value2, "powerSn");
            return (Criteria) this;
        }

        public Criteria andOwnIsNull() {
            addCriterion("own is null");
            return (Criteria) this;
        }

        public Criteria andOwnIsNotNull() {
            addCriterion("own is not null");
            return (Criteria) this;
        }

        public Criteria andOwnEqualTo(String value) {
            addCriterion("own =", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnNotEqualTo(String value) {
            addCriterion("own <>", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnGreaterThan(String value) {
            addCriterion("own >", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnGreaterThanOrEqualTo(String value) {
            addCriterion("own >=", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnLessThan(String value) {
            addCriterion("own <", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnLessThanOrEqualTo(String value) {
            addCriterion("own <=", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnLike(String value) {
            addCriterion("own like", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnNotLike(String value) {
            addCriterion("own not like", value, "own");
            return (Criteria) this;
        }

        public Criteria andOwnIn(List<String> values) {
            addCriterion("own in", values, "own");
            return (Criteria) this;
        }

        public Criteria andOwnNotIn(List<String> values) {
            addCriterion("own not in", values, "own");
            return (Criteria) this;
        }

        public Criteria andOwnBetween(String value1, String value2) {
            addCriterion("own between", value1, value2, "own");
            return (Criteria) this;
        }

        public Criteria andOwnNotBetween(String value1, String value2) {
            addCriterion("own not between", value1, value2, "own");
            return (Criteria) this;
        }

        public Criteria andRuningIdIsNull() {
            addCriterion("runing_id is null");
            return (Criteria) this;
        }

        public Criteria andRuningIdIsNotNull() {
            addCriterion("runing_id is not null");
            return (Criteria) this;
        }

        public Criteria andRuningIdEqualTo(Integer value) {
            addCriterion("runing_id =", value, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdNotEqualTo(Integer value) {
            addCriterion("runing_id <>", value, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdGreaterThan(Integer value) {
            addCriterion("runing_id >", value, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("runing_id >=", value, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdLessThan(Integer value) {
            addCriterion("runing_id <", value, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdLessThanOrEqualTo(Integer value) {
            addCriterion("runing_id <=", value, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdIn(List<Integer> values) {
            addCriterion("runing_id in", values, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdNotIn(List<Integer> values) {
            addCriterion("runing_id not in", values, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdBetween(Integer value1, Integer value2) {
            addCriterion("runing_id between", value1, value2, "runingId");
            return (Criteria) this;
        }

        public Criteria andRuningIdNotBetween(Integer value1, Integer value2) {
            addCriterion("runing_id not between", value1, value2, "runingId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}